package com.hq.instantiation;


public class MyRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println("当前线程的名字{}:" + Thread.currentThread().getName());
        System.out.println(Thread.currentThread().getName() + " MyRunnable的子线程正在做事情");
        System.out.println("============第二案例结束=======");
    }
}
